package cn.iocoder.yudao.module.system.controller.admin.dept.vo.jd;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 京东提交生产新增/修改 Request VO")
@Data
public class RechargeSaveReqVO {

    @Schema(description = "商品编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "商品编码不能为空")
    private String wareNo;

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "350")
    private Integer id;

    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "数量不能为空")
    private String quantity;

    @Schema(description = "京东订单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "京东订单号不能为空")
    private String jdOrderNo;

    @Schema(description = "充值号码", example = "5761")
    private String produceAccount;

    @Schema(description = "订单总价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "24003")
    @NotEmpty(message = "订单总价格不能为空")
    private String totalPrice;

    @Schema(description = "支付时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "支付时间不能为空")
    private String payTime;

    @Schema(description = "回调通知地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @NotEmpty(message = "回调通知地址不能为空")
    private String notifyUrl;

    @Schema(description = "商家ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "19854")
    @NotEmpty(message = "商家ID不能为空")
    private String vendorId;

    @Schema(description = "生产状态 1:生产中 2:生产成功 3:生产失败 4:生产异常 ", example = "2")
    private Integer status;

}